<?php

namespace app\im\service;

use app\im\model\FriendsModel;

class FriendsService
{
    protected $db;

    public function __construct()
    {
        $this->db = new FriendsModel();
    }
    /**
     * 申请成为好友
     * @param  int $userId        用户ID
     * @param  int $friendsUserId 朋友用户ID
     */
    public function applyToBeFriends($userId, $friendsUserId)
    {

    }

    /**
     * 同意成为好友
     * @param  int $userId        用户ID
     * @param  int $friendsUserId 朋友用户ID
     */
    public function agreeToBeFriends($userId, $friendsUserId)
    {

    }

    /**
     * 删除好友
     * @param  int $userId        用户ID
     * @param  int $friendsUserId 朋友用户ID
     */
    public function deleteFriends($userId, $friendsUserId)
    {
        
    }
}